<%@ include file="/WEB-INF/jsp/include.jsp" %>
<head>
	<title><fmt:message key="title"/></title>
	<link rel="stylesheet" type="text/css" href="../css/styles.css"/>
	<script src="../js/music-management.js" type="text/javascript"></script>
	<script src="../js/XMLHttpRequestHelper.js" type="text/javascript"></script>
</head>
<body>
<a href="musicContainer.htm"><fmt:message key="album.management.music"/></a>
<form method="post" name="albumManagement" id="musicSearchForm">
  <table>
    <tr>
      <td alignment="right"><fmt:message key="album.management.path"/>:</td>
      <spring:bind path="albumManagement.path">
        <td>
          <input type="text" name="path" size="100" value="<c:out value="${status.value}"/>">
        </td>
      </spring:bind>
    </tr>
  </table>
  <input name="submit" type="button" onclick="getMusic();" alignment="center" value="<fmt:message key="lbum.management.scann.path"/>">
</form>
<div id="searchMessage"></div>
<c:if test="${searchInProgress}">
	<b><fmt:message key="album.management.search.in.progress"/></b>
	<script type="text/javascript">restoreSearch('${searchPath}');</script>
</c:if>
<div id="searchStatus"></div>
</body>
</html>